<template>
  <div class="main">
    <img
      src="../../assets/img/backblack.png"
      alt=""
      class="back"
      @click="go('LifeService')"
    />
    <div class="top">
      <img src="../../assets/img/banner1.png" alt="" />
    </div>
    <div class="slogan">
      <span class="youhui">优惠</span>
      <span class="song">首次充值100送200</span>
      <span class="cz" @click="go('chargecard')"
        >立即充值<img src="../../assets/img/go.png" alt=""
      /></span>
    </div>
    <div class="jieshao">
      <van-grid :border="false" :column-num="1">
        <van-grid-item>
          <div class="content">
            <span>宜居小小搬</span>
            <span>全程搬运，适合简单，无大型家电的搬家</span>
            <span>169元起</span>
          </div>
          <img src="../../assets/img/xiao.png" alt="" />
        </van-grid-item>
        <van-grid-item>
          <div class="content">
            <span>宜居厢货</span>
            <span>提供被褥打包服务，适合有床柜/冰箱等大家电的搬家</span>
            <span>315元起</span>
          </div>
          <img src="../../assets/img/da.png" alt="" />
        </van-grid-item>
        <van-grid-item>
          <div class="content">
            <span>宜居小小搬</span>
            <span>全程搬运，适合简单，无大型家电的搬家</span>
            <span>169元起</span>
          </div>
          <img src="../../assets/img/xiao.png" alt="" />
        </van-grid-item>
        <van-grid-item>
          <div class="content">
            <span>宜居厢货</span>
            <span>提供被褥打包服务，适合有床柜/冰箱等大家电的搬家</span>
            <span>315元起</span>
          </div>
          <img src="../../assets/img/da.png" alt="" />
        </van-grid-item>
      </van-grid>
    </div>
  </div>
</template>

<script>
export default {
  name: "",
  data() {
    return {};
  },
  watch: {},
  props: {},
  components: {},
  computed: {},
  mounted() {},
  methods: {
    go(page) {
      this.$router.replace({ name: page });
    },
  },
  filters: {},
};
</script>

<style scoped lang='less'>
.main {
  width: 100%;
  height: 100%;
  background-color: #ebebeb;
  .back {
    width: 48px;
    height: 48px;
    position: absolute;
    left: 20px;
    top: 60px;
  }
  .top {
    img {
      width: 100%;
      height: 475px;
      display: block;
    }
  }
  .slogan {
    font-size: 30px;
    margin: 32px 20px;
    .youhui {
      padding: 5px 10px;
      border: 1px solid #ff5555;
      border-radius: 8px;
      color: #ff5555;
    }
    .song {
      margin-left: 10px;
    }
    .cz {
      margin-left: 200px;
      a:visited {
        color: #000;
      }
      img {
        margin-left: 12px;
        width: 34px;
        height: 34px;
        vertical-align: text-top;
      }
    }
  }
  .jieshao {
    /deep/.van-grid-item__content {
      background-color: #ebebeb;
      padding: 0 20px 20px;
      .content {
        position: absolute;
        span {
          display: block;
          margin: 0;
        }
        span:nth-child(1) {
          font-size: 35px;
          position: relative;
          left: 120px;
          top: -10px;
        }
        span:nth-child(2) {
          opacity: 0.8;
          font-size: 10px;
          width: 360px;
          position: relative;
          left: 120px;
          top: 10px;
        }
        span:nth-child(3) {
          opacity: 0.7;
          color: #ff5555;
          font-size: 30px;
          width: 150px;
          position: relative;
          left: 400px;
          top: 20px;
        }
      }
      img {
        width: 100%;
        height: 100%;
      }
    }
  }
}
</style>